Download OpenAPI specification:Download
This Address Validation Management API provides developers a way to vaildate address information and determine its tax jursidiction
Resources for validating address and retreiving log results for previous validations.
Provides the ability to validate an address so that the associated tax jurisdictions can be assigned. [Rev 1.04]
| Content-Type required | string Example: application/json |
required | object |
| failureCount | integer The number of address validation failure attempts. The system allows for a configurable threshold that will bypass the address validation/correction process once that limit is hit.
|
| lastValidationDate | string <date-time> The last address validation date associated with the contact.
|
| validationTypeID required | integer Unique identifier for the validation type that is requested to be used to validate the address. |
{- "address": {
- "City": "string",
- "Country": "USA",
- "County": "Wayne",
- "Name": "Justin",
- "State": "NY",
- "Street1": "445 Mount Eden Road, Mount Eden, Auckland",
- "Street2": "3634 Main Street, NY, 35252",
- "Street3": "252 Cisco Avenue, Warchester, 64623",
- "ZipCode": 14653
}, - "failureCount": 3,
- "lastValidationDate": "2019-05-01T18:00:00.000Z",
- "validationTypeID": 3
}{- "actualValidationType": "Basic",
- "addressStandardized": [
- {
- "address": {
- "City": "New York",
- "Country": "USA",
- "County": "Wayne",
- "Latitude": 65.5,
- "Longitude": 55.4,
- "Name": "Justin",
- "State": "NY",
- "Street1": "445 Mount Eden Road, Mount Eden, Auckland",
- "Street2": "3634 Main Street, NY, 35252",
- "Street3": "252 Cisco Avenue, Warchester, 64623",
- "ZipCode": 14653
}, - "taxFIPS": "string",
- "taxSpecialDistricts": [
- {
- "code": "01PPJ00124"
}
]
}
], - "attemptedValidationType": "Basic",
- "errorCode": "Basic_B01_NoMatchingAddressRecordsFound",
- "excludeReasonID": "",
- "failureCount": "",
- "isPOBox": true,
- "isSkipped": false,
- "isValidated": true,
- "rawResultCode": "A0000",
- "requestedValidationType": "Basic",
- "validationDate": "2019-05-01T18:00:00.000Z",
- "addressValidationLogID": 1
}Used to search validation logs for your environment. [Rev 1.04]
The following is a list of fields and how they can be used within the search.
| $count | boolean Example: $count=true Specifies whether to fetch the total count of results. This is the count of all documents that match the |
| $filter | string Example: $filter=Name eq 'AuthorizationProvider1' A structured search expression in standard OData syntax. |
| $orderby | string Example: $orderby=Name A list of comma-separated expressions to sort the results by. Each expression can be followed by asc to indicate ascending, and desc to indicate descending. The default is ascending order. If no $orderby is specified, the default sort order is descending by UserID. |
| $select | string Example: $select=AuthorizationURI A list of comma-separated fields to retrieve. If unspecified, all fields in the schema are included. |
| $skip | number Example: $skip=10 Number of search results to skip. |
| $skiptoken | number Example: $skiptoken=2 Indicator to the next set of results. This value is usually supplied on the response from a previous search. |
| $top | number Example: $top=1 Number of search results to retrieve. If you specify a value greater than 100 and there are more than 100 results, only the first 100 results will be returned. |
{- "actualValidationType": "USPS",
- "actualValidationTypeID": 2,
- "attemptedValidationType": "USPS",
- "attemptedValidationTypeID": 2,
- "censusBlockCode": 123,
- "censusCounty": "MNR",
- "censusState": "NY",
- "censusTract": 11130,
- "cityRequest": "Rochester",
- "cityResponse": "ROCHESTER",
- "countryRequest": "USA",
- "countryResponse": "USA",
- "countyRequest": "Monroe",
- "countyResponse": "MONROE",
- "entryDate": "1901-01-01T05:00:00.000Z",
- "environment": "JESP",
- "fipsCode": 12344556,
- "isSkipped": false,
- "latitude": "1234.00,",
- "longitude": 1234,
- "requestedValidationTypeID": 3,
- "requestedValidationType": "Basic",
- "stateRequest": "ny",
- "stateResponse": "NY",
- "street1Request": "1234 main avenue",
- "street2Request": "example",
- "street3Request": "example 3",
- "street1Response": "1600 EAST AVE",
- "street2Response": "apartment",
- "street3Response": "123",
- "testMode": false,
- "userID": "ws_user",
- "validationLogID": 1,
- "zipCodeRequest": 14610,
- "zipCodeResponse": "146101673"
}Used to view the available validation types.
The following is a list of fields and how they can be used within the search.
| $count | boolean Example: $count=true Specifies whether to fetch the total count of results. This is the count of all documents that match the |
| $filter | string Example: $filter=Name eq 'AuthorizationProvider1' A structured search expression in standard OData syntax. |
| $orderby | string Example: $orderby=Name A list of comma-separated expressions to sort the results by. Each expression can be followed by asc to indicate ascending, and desc to indicate descending. The default is ascending order. If no $orderby is specified, the default sort order is descending by UserID. |
| $select | string Example: $select=AuthorizationURI A list of comma-separated fields to retrieve. If unspecified, all fields in the schema are included. |
| $skip | number Example: $skip=10 Number of search results to skip. |
| $skiptoken | number Example: $skiptoken=2 Indicator to the next set of results. This value is usually supplied on the response from a previous search. |
| $top | number Example: $top=1 Number of search results to retrieve. If you specify a value greater than 100 and there are more than 100 results, only the first 100 results will be returned. |
{- "validationTypeID": 2,
- "description": "USPS"
}Used to view the validation log summary for your environment.
| fromDate | string <date-time> Example: Tthe starting date and time from which the validation log summary result swill be filtered to. |
| toDate | string <date-time> Example: The ending date and time from which the validation log summary results will be filtered to. |
| validationTypeID | integer Example: The specific validation type ID that the validation log summary results will be filtered to. |
| Content-Type required | string Example: application/json |
{- "censusBlockCode": 123,
- "censusCounty": "MNR",
- "censusState": "NY",
- "censusTract": 11130,
- "validationType": "USPS",
- "validationTypeID": 2,
- "totalAttemptedValidations": 133,
- "totalValidations": 123,
- "totalErrors": 10
}Used to view the special district codes associated with a previously logged address validation response.
| validationLogID required | integer Example: 1 Id of ValidationLog to search against. |
{- "specialDistrictCodes": [
- {
- "code": "specialDistrictCode1"
}, - {
- "code": "specialDistrictCode2"
}
]
}This Address Validation Management API provides developers a way to vaildate address information and determine the its tax jursidiction.
RequestCountry, ResponseCountry, and IsSkipped fields to GET /api/validationLog.IsSkipped field to POST /api/validateAddress.totalAttemptedValidations to GET /api/validationLogSummary operation.